export const member2 = function () {
    let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    let num = Math.floor(Math.random() * 10)
    let newArr = arr.filter((item) => {
        return item > 5
    })
    let sum = newArr.reduce((pre, cur) => {
        return pre + cur
    }, 0)

    console.log(sum * num);
    console.log('林晓成');
}
